package Demo;

import java.util.Random;

public class Demo0 {
	public static void main(String[] agrs) {
		int a[]=new int [7];
		String e=b(a);
		System.out.println(e);
		
		
	}
	public static String b(int[] a) {
		Random sc=new Random();
		String b=" ";
		for (int i = 0; i < a.length; i++) {
			a[i]=sc.nextInt(10);
				
			}
		for (int i = 0; i < a.length; i++) {
			if (i==4) {
				System.out.print(" "+a[i]);
			}else {
				System.out.print(a[i]);
			}
			
		}
		return b;
	}
}
